package com.itheima.test.demo02;

public class Dog extends Animal {

    int num = 30;

    @Override
    public void eat() {
        System.out.println("狗吃肉");
    }

    public void drink(){
        System.out.println("狗喝水");
    }
}
